import { http } from "@/utils/http";
import type { HttpResult } from "/@/utils/http/types";

// 查询选择办理人/角色分页
export function fetchUserRolePage(query: object) {
  return http.request<HttpResult>(
    "get",
    "/esflow/user-role-auditor/user-role/page",
    { params: query }
  );
}

// 办理人/角色选择器数据
export function fetchUserRolePicker(query: object) {
  return http.request<HttpResult>(
    "get",
    "/esflow/user-role-auditor/user-role/picker",
    { params: query }
  );
}
